//
//  SureAgainViewController.m
//  JiJinFinance
//
//  Created by 李东晓 on 15/12/4.
//  Copyright © 2015年 LiDongXiao. All rights reserved.
//

#import "SureAgainViewController.h"
#import "SureView.h"
#import "SubmitViewController.h"
@interface SureAgainViewController ()<MyDelegate>

@end

@implementation SureAgainViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.title = @"确认投资信息";
    
    NSArray * arr = [[NSBundle mainBundle]loadNibNamed:@"SureView" owner:self options:nil];
    
    SureView * xibView = arr.lastObject;
    
    //[xibView.LabelXMTZ setFrame:CGRectMake(36*D_width, 528, 61*D_width, 15)];
    
    [xibView.LabelXMTZ.titleLabel setFont:[UIFont systemFontOfSize:12*D_height]];
    
    [xibView.LabelJKXY setFont:[UIFont systemFontOfSize:12*D_height]];

    [xibView.LabelTYRX setFont:[UIFont systemFontOfSize:12*D_height]];

    [xibView setFrame:CGRectMake(0, -64, kUIScreenWidth, kUIScreenHeight)];
    
    [xibView.ButXY.layer setMasksToBounds:YES];
    
    xibView.delegate = self;
    
    xibView.ButXY.layer.cornerRadius = xibView.ButXY.frame.size.height/2;
    
    UIScrollView * scr = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 0, xibView.frame.size.width, xibView.frame.size.height-300)];
    
    [scr setBackgroundColor:RGBAColor(246, 246, 246, 1)];
    
    [scr setContentSize:CGSizeMake(0, 600)];
    
    self.view = scr;
    
    [scr addSubview:xibView];
    
    
   // [self.view addSubview:xibView];
    
}
-(void)SureClick
{
    SubmitViewController * submit = [[SubmitViewController alloc]init];
    
    [self.navigationController pushViewController:submit animated:YES];
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
